package com.diaosidadui.test02;

public class Test07 {

    public static void main(String[] args) {
        Phone p1 = new Phone();
        String name = "张三";
        p1.call(name);
        System.out.println("--------------");
        NewPhone p2 = new NewPhone();
        p2.call(name);

    }
}